using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HeaderTest
{
    public partial class Form1 : Form
    {
        TextBox textBox1 = new TextBox();
        public Form1()
        {
            InitializeComponent();
            textBox1.Parent = kryptonHeader1;
            textBox1.Left = kryptonHeader1.Width - textBox1.Width - 5;
            textBox1.Top = (kryptonHeader1.Height - textBox1.Height) / 2;
            textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right; 
        }
    }
}